package com.reform.pojo.common;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 批次级别表
 * </p>
 *
 * @author mortale
 * @since 2021-07-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("dict_level")
@ApiModel(value="DictLevel对象", description="批次级别表")
public class DictLevel implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "批次级别编号")
    @TableField("level_id")
    private Integer levelId;

    @ApiModelProperty(value = "批次级别名称")
    @TableField("level_name")
    private String levelName;

    @ApiModelProperty(value = "父节点编号")
    @TableField("father")
    private Integer father;

    @ApiModelProperty(value = "子菜单")
    @TableField(exist = false)
    private List<DictLevel> children;

}
